//
// Created by YueChuan on 2023/3/24.
//

#ifndef NETWORKDISK_TALKTEXTEDIT_H
#define NETWORKDISK_TALKTEXTEDIT_H

#include <QTextEdit>
#include <QWidget>
#include <QFileInfo>
#include <QFileIconProvider>
#include <QDropEvent>
#include <QDragLeaveEvent>
#include <QDragEnterEvent>
#include <QMimeData>

class talkTextEdit : public QTextEdit {
    Q_OBJECT
public:
    explicit talkTextEdit(QWidget *parent = nullptr);

protected:
    void dropEvent(QDropEvent *) override;

    void dragEnterEvent(QDragEnterEvent *) override;

    void dragLeaveEvent(QDragLeaveEvent *) override;


};


#endif //NETWORKDISK_TALKTEXTEDIT_H
